import React from 'react'
import { View, Image } from '@tarojs/components'
import './index.scss'

export default ({ items }) => {

    return (
        <View className="xxm-ad-box">

            {
                items?.map(it => {
                    return (
                        <View className="xxm-ad-box__item">
                            <Image className="xxm-ad-box__icon" src={it.image_url} />
                            {it.name}
                        </View>
                    )
                })
            }
        </View>
    )
}